package com.bootdo.lvyou.dao;

import com.bootdo.lvyou.domain.LvyouScenicSpot;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 景点表
 * @author haojiangbo
 * @email 2100272728@qq.com
 * @date 2019-10-09 16:35:11
 */
@Mapper
public interface LvyouScenicSpotDao {

	LvyouScenicSpot get(Long id);

	LvyouScenicSpot getNoDesc(Long id);

	List<LvyouScenicSpot> list(Map<String,Object> map);


	List<LvyouScenicSpot> simpleList(Map<String,Object> map);


	List<LvyouScenicSpot> getByLonLat(Map<String,Object> map);


	Integer getByLonLatCount(Map<String,Object> map);

	int count(Map<String,Object> map);
	
	int save(LvyouScenicSpot lvyouScenicSpot);
	
	int update(LvyouScenicSpot lvyouScenicSpot);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);
}
